"""
告警信息数据
"""
alarms_db = [
    {"id": 1, "time": "2025-11-08 14:35:22", "level": "critical", "type": "CPU", "source": "Server-04", "message": "CPU使用率超过90%，当前值：91%", "status": "active"},
    {"id": 2, "time": "2025-11-08 14:28:15", "level": "warning", "type": "数据库", "source": "MongoDB-Log", "message": "慢查询数量激增，过去1小时新增15条慢查询", "status": "active"},
    {"id": 3, "time": "2025-11-08 14:15:03", "level": "critical", "type": "网络", "source": "Server-05", "message": "服务器无法访问，连接超时", "status": "active"},
    {"id": 4, "time": "2025-11-08 13:55:42", "level": "info", "type": "磁盘", "source": "Server-02", "message": "磁盘使用率达到70%，建议清理日志文件", "status": "resolved"},
    {"id": 5, "time": "2025-11-08 13:42:18", "level": "warning", "type": "内存", "source": "Server-04", "message": "内存使用率持续高于80%", "status": "active"},
    {"id": 6, "time": "2025-11-08 13:20:55", "level": "info", "type": "应用", "source": "Trade-Service", "message": "交易服务响应时间超过阈值", "status": "resolved"},
    {"id": 7, "time": "2025-11-08 13:05:31", "level": "warning", "type": "CPU", "source": "Server-08", "message": "CPU使用率达到88%", "status": "active"},
    {"id": 8, "time": "2025-11-08 12:48:27", "level": "critical", "type": "内存", "source": "Server-14", "message": "内存使用率超过97%，系统可能崩溃", "status": "active"},
    {"id": 9, "time": "2025-11-08 12:35:19", "level": "info", "type": "数据库", "source": "PostgreSQL-Analytics", "message": "连接数接近上限", "status": "resolved"},
    {"id": 10, "time": "2025-11-08 12:20:44", "level": "warning", "type": "磁盘", "source": "Server-17", "message": "磁盘使用率达到73%", "status": "active"},
]